package com.example.wanjialei.mapper;

import com.example.wanjialei.pojo.Advisory;
import com.example.wanjialei.pojo.AdvisoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdvisoryMapper {
    long countByExample(AdvisoryExample example);

    int deleteByExample(AdvisoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Advisory row);

    int insertSelective(Advisory row);

    List<Advisory> selectByExampleWithBLOBs(AdvisoryExample example);

    List<Advisory> selectByExample(AdvisoryExample example);

    Advisory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") Advisory row, @Param("example") AdvisoryExample example);

    int updateByExampleWithBLOBs(@Param("row") Advisory row, @Param("example") AdvisoryExample example);

    int updateByExample(@Param("row") Advisory row, @Param("example") AdvisoryExample example);

    int updateByPrimaryKeySelective(Advisory row);

    int updateByPrimaryKeyWithBLOBs(Advisory row);

    int updateByPrimaryKey(Advisory row);
}